home *** CD-ROM | disk | FTP | other *** search
/ Kids' Bible Fun Pack / Kids' CD-ROM Bible Fun Pack (1997)(Education Publishing Concepts)[Mac-PC].iso / mac / GAMES / MAZE / SHARED.CST / 00003_Script_quit rollover < prev    next >
Text File  |  1996-08-27  |  736b  |  30 lines

  1. on exitFrame
  2.   if rollover (47) then
  3.     puppetsprite (47), true
  4.     set the castnum of sprite (47) to 635 
  5.     updateStage 
  6.     repeat while rollover(47)
  7.       if the mouseDown then
  8.         quit
  9.         exit repeat
  10.         puppetsprite 47, false
  11.       end if
  12.     end repeat
  13.     set the castnum of sprite 47 to 633
  14.     puppetsprite 47, false
  15.   end if
  16.   if rollover (48) then
  17.     puppetsprite (48), true
  18.     set the castnum of sprite (48) to 636 
  19.     updateStage 
  20.     repeat while rollover(48)
  21.       if the mouseDown then
  22.         go to the frame + 3
  23.         exit repeat
  24.         puppetsprite 48, false
  25.       end if
  26.     end repeat
  27.     set the castnum of sprite 48 to 634
  28.     puppetsprite 48, false
  29.   end if
  30. end